﻿#pragma once

#include "RteInterface/RoadMessageIF.h"
#include "RteInterface/VehicleMessageIF.h"

#include "RteInterface/AlgorithmMessageIF.h"

#include "Demo/CalcDistance.h"

namespace Algorithm {

extern uint64_t AlgorithmRunCounter;
extern uint32_t AlgorithmRunTime;
extern CalcDistance ins_CalcDistance;

void algorithmInit(void);
void algorithmProc(const RoadMessageIF& roadMessage, const VehicleMessageIF& vehicleMessage, 
                   AlgorithmMessageIF& algorithmMessage);
void algorithmDestroy(void);

} //namespace Algorithm
